home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 1 / PC Actual CD 01.iso / share / dos / demos / planets / source.lzh / MAKEFILE < prev    next >
Encoding:
Text File  |  1994-04-20  |  988 b   |  47 lines

  1.  
  2. # Makefile for Bouncing Planets demo
  3. # (Simon Hern, 1994)
  4.  
  5.  
  6. M=s             # Model
  7. CPL=tcc         # Compiler
  8. LNK=tlink       # Linker
  9. ASM=a86         # Assembler
  10. XLIB=xlib06     # Library
  11.  
  12.  
  13. all : planets.exe makegush.exe makexion.exe
  14.  
  15.  
  16. # Main demo executable
  17.  
  18. planets.exe : planets.obj gushcode.obj
  19.   $(LNK) c0$(M) planets gushcode, planets, planets,\
  20.          emu math$(M) c$(M) $(XLIB)$(M).lib
  21.  
  22. planets.obj : planets.c planet.h
  23.   $(CPL) -m$(M) -c planets.c
  24.  
  25. gushcode.obj : gushcode.asm
  26.   $(ASM) gushcode.asm gushcode.obj
  27.  
  28.  
  29. # Program to create Gush data
  30.  
  31. makegush.exe : makegush.c planet.h
  32.   $(CPL) -m$(M) makegush.c $(XLIB)$(M).lib
  33.  
  34.  
  35. # Program to create Xion data
  36.  
  37. makexion.exe : makexion.obj xioncode.obj
  38.   $(LNK) c0$(M) makexion xioncode, makexion, makexion,\
  39.          emu math$(M) c$(M) $(XLIB)$(M).lib
  40.  
  41. makexion.obj : makexion.c planet.h
  42.   $(CPL) -m$(M) -c makexion.c
  43.  
  44. xioncode.obj : xioncode.asm
  45.   $(ASM) xioncode.asm xioncode.obj
  46.  
  47.